Package | fhir.hivfhirIg |
Type | Measure |
Id | Id |
FHIR Version | R4 |
Source | https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/https://build.fhir.org/ig/IntelliSOFT-Consulting/HIV-FHIR-IG/Measure-HIVIND27.html |
Url | http://smart.who.int/hiv/Measure/HIVIND27 |
Version | 0.1.0 |
Status | draft |
Date | 2024-09-16 |
Name | HIVIND27 |
Title | HIV.IND.27 People living with HIV on ART |
Experimental | True |
Realm | us |
Authority | hl7 |
Description | Number and % of people on ART among all people living with HIV at the end of the reporting period |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: Measure HIVIND27
org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis: boolean
org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem: Device: manufacturer = CQFramework; type = tooling
org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements: EffectiveDataRequirements
url: Measure HIV.IND.27 People living with HIV on ART
version: 0.1.0
name: HIVIND27
title: HIV.IND.27 People living with HIV on ART
status: Draft
experimental: true
date: 2024-09-16
publisher: intellisoftkenya
contact: intellisoftkenya: https://www.intellisoftkenya.com/
description:
Number and % of people on ART among all people living with HIV at the end of the reporting period
library: https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/HIVIND27Logic
scoring: Continuous Variable
group
population
id
HIV.IND.27.IPcode: Initial Population
description: Initial Population
Criteria
Language Expression CQL Initial Population population
id
HIV.IND.27.MPorg/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis: boolean
code: Measure Population
description: Measure Population
Criteria
Language Expression CQL Measure Population population
id
HIV.IND.27.MOorg/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference: measure-population
org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod: count
code: Measure Observation
description: Measure Observation
Criteria
Language Expression CQL Measure Observation stratifier
id
HIV.IND.27.SCriteria
Language Expression CQL Stratification
{
"resourceType" : "Measure",
"id" : "HIVIND27",
"meta" : {
"profile" : [
"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cv-measure-cqfm",
"http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure",
"http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablemeasure",
"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"
]
},
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Measure HIVIND27</b></p><a name=\"HIVIND27\"> </a><a name=\"hcHIVIND27\"> </a><a name=\"HIVIND27-en-US\"> </a><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis</b>: boolean</p><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem</b>: <a href=\"Device-cqf-tooling.html\">Device: manufacturer = CQFramework; type = tooling</a></p><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements</b>: <a href=\"#hcHIVIND27/effective-data-requirements\">EffectiveDataRequirements</a></p><p><b>url</b>: <a href=\"Measure-HIVIND27.html\">Measure HIV.IND.27 People living with HIV on ART</a></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: HIVIND27</p><p><b>title</b>: HIV.IND.27 People living with HIV on ART</p><p><b>status</b>: Draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2024-09-16</p><p><b>publisher</b>: intellisoftkenya</p><p><b>contact</b>: intellisoftkenya: <a href=\"https://www.intellisoftkenya.com/\">https://www.intellisoftkenya.com/</a></p><p><b>description</b>: </p><div><p>Number and % of people on ART among all people living with HIV at the end of the reporting period</p>\n</div><p><b>library</b>: <code>https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/HIVIND27Logic</code></p><p><b>scoring</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-scoring continuous-variable}\">Continuous Variable</span></p><blockquote><p><b>group</b></p><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>HIV.IND.27.IP</blockquote><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population initial-population}\">Initial Population</span></p><p><b>description</b>: Initial Population</p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Initial Population</td></tr></table></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>HIV.IND.27.MP</blockquote><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis</b>: boolean</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population measure-population}\">Measure Population</span></p><p><b>description</b>: Measure Population</p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Measure Population</td></tr></table></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>HIV.IND.27.MO</blockquote><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference</b>: measure-population</p><p><b>org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod</b>: count</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population measure-observation}\">Measure Observation</span></p><p><b>description</b>: Measure Observation</p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Measure Observation</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>HIV.IND.27.S</blockquote><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>CQL</td><td>Stratification</td></tr></table></blockquote></blockquote></div>"
},
"contained" : [
{
"resourceType" : "Library",
"id" : "effective-data-requirements",
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.A.DE20",
"display" : "Male"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.A.DE19",
"display" : "Female"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.A.DE22",
"display" : "Transgender female"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.A.DE21",
"display" : "Transgender male"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.A.DE23",
"display" : "Other"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE49",
"display" : "Key population member*"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/observation-category",
"code" : "social-history",
"display" : "Social History"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE116",
"display" : "HIV-positive"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "active"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://terminology.hl7.org/CodeSystem/condition-category",
"code" : "encounter-diagnosis",
"display" : "Encounter Diagnosis"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE115",
"display" : "HIV status"
}
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
"valueCoding" : {
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.H.DE47",
"display" : "On ART"
}
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIND27Logic"
},
{
"url" : "name",
"valueString" : "Initial Population"
},
{
"url" : "statement",
"valueString" : "/*\n * As defined by Member States\n */\ndefine \"Initial Population\":\n true"
},
{
"url" : "displaySequence",
"valueInteger" : 0
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "By Administrative Gender Stratifier"
},
{
"url" : "statement",
"valueString" : "/* End of Age */\n\n\n\n\n\n\n/*\n@dataElement: HIV.A.DE18 - Gender\n@activity: HIV.A6.1 Review sociodemographic data with client | HIV.A5 Create new client record\n@description: Gender of the client\n*/\n\n/*\n * By Administrative Gender of Patient Stratifier\n * Need to expand codes\n */\n\ndefine \"By Administrative Gender Stratifier\":\n case \n when Patient.gender = 'male' then Concepts.\"Male\"\n when Patient.gender = 'female' then Concepts.\"Female\"\n when Patient.gender = 'transgender female' then Concepts.\"Transgender female\"\n when Patient.gender = 'transgender male' then Concepts.\"Transgender male\"\n else Concepts.\"Other - HIV.A.DE23\"\n end"
},
{
"url" : "displaySequence",
"valueInteger" : 1
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "Age In Years"
},
{
"url" : "statement",
"valueString" : "/* End of Visit date A.DE3 */\n\n/*\n@dataElement: HIV.A.DE17 - Age\n@activity: HIV.A6.1 Review sociodemographic data with client | HIV.A5 Create new client record\n@description: Calculated age (number of years) of the client based on date of birth\n*/\ndefine \"Age In Years\":\n AgeInYearsAt(start of \"Measurement Period\")"
},
{
"url" : "displaySequence",
"valueInteger" : 2
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "By Age Stratifier"
},
{
"url" : "statement",
"valueString" : "/*\n * By Age Stratifiers\n * (0â4, 5â9, 10â14, 15â19, 20â24, 25â29, 30â34, 35â39, 40â44, 45â49, 50+ years)\n * \n */\ndefine \"By Age Stratifier\":\n case \n when \"Age In Years\" <= 4 then '0-4'\n when \"Age In Years\" <= 9 then '5-9'\n when \"Age In Years\" <= 14 then '10â14'\n when \"Age In Years\" <= 19 then '15â19'\n when \"Age In Years\" <= 24 then '20â24'\n when \"Age In Years\" <= 29 then '25â29'\n when \"Age In Years\" <= 34 then '30â34'\n when \"Age In Years\" <= 39 then '35â39'\n when \"Age In Years\" <= 44 then '40â44'\n when \"Age In Years\" <= 49 then '45â49'\n when \"Age In Years\" >= 50 then '50+'\n else null\n end"
},
{
"url" : "displaySequence",
"valueInteger" : 3
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "By Geographic Region Stratifier"
},
{
"url" : "statement",
"valueString" : "// Geographic Region\ndefine \"By Geographic Region Stratifier\":\n First(Patient.address A where A.use in { 'home' }).state"
},
{
"url" : "displaySequence",
"valueInteger" : 4
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "Key population member type Observation"
},
{
"url" : "statement",
"valueString" : "/* End of Key population member B.DE49 */\n\n/*\n@dataElement: HIV.B.DE50 - Key population member type\n@activity: HIV.B6 Capture or update client history\n@description: The type of key population that the client is included in\n*/\ndefine \"Key population member type Observation\":\n [Observation: Concepts.\"Key population member - HIV.B.DE49\"] O\n where O.status in { 'final', 'amended', 'corrected' }\n and exists(O.category OC where OC ~ ConceptsCustom.\"social-history\")"
},
{
"url" : "displaySequence",
"valueInteger" : 5
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "Key population member type Observation"
},
{
"url" : "statement",
"valueString" : "define \"Key population member type Observation\":\n Elements.\"Key population member type Observation\" O\n where O.effective.toInterval() before end of \"Measurement Period\"\n or O.issued before end of \"Measurement Period\""
},
{
"url" : "displaySequence",
"valueInteger" : 6
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "patientGroups"
},
{
"url" : "statement",
"valueString" : "// Stratifier\ndefine patientGroups:\n \"Key population member type Observation\" O\n return Combine(O.code.coding.code, ':')"
},
{
"url" : "displaySequence",
"valueInteger" : 7
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIND27Logic"
},
{
"url" : "name",
"valueString" : "Stratification"
},
{
"url" : "statement",
"valueString" : "define \"Stratification\":\n HIE.\"By Administrative Gender Stratifier\".code \n + ':' + HIE.\"By Age Stratifier\"\n+ ':' + HIE.\"By Geographic Region Stratifier\"\n+ Combine(HIE.patientGroups, ':')"
},
{
"url" : "displaySequence",
"valueInteger" : 8
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "HIV Status Positive Condition"
},
{
"url" : "statement",
"valueString" : "define \"HIV Status Positive Condition\":\n [Condition: Concepts.\"HIV-positive - HIV.B.DE116\"] C\n where C.clinicalStatus ~ ConceptsCustom.\"active\"\n and exists(C.category CC where CC ~ ConceptsCustom.\"encounter-diagnosis\")\n sort by start of onset.toInterval()"
},
{
"url" : "displaySequence",
"valueInteger" : 9
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "HIV Status Positive Condition"
},
{
"url" : "statement",
"valueString" : "define \"HIV Status Positive Condition\":\n Elements.\"HIV Status Positive Condition\" C\n where C.onset before end of \"Measurement Period\""
},
{
"url" : "displaySequence",
"valueInteger" : 10
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "HIV Status Observation"
},
{
"url" : "statement",
"valueString" : "/* End of HIV-inconclusive */\n\n/*\n@dataElement: HIV.B.DE115 - HIV status\n@activity: HIV.B7 Test for HIV using testing algorithm\n@description: HIV status reported after applying the national HIV testing algorithm. No single HIV test can provide an HIV-positive diagnosis.\n*/\ndefine \"HIV Status Observation\":\n [Observation: Concepts.\"HIV status\"] O\n where O.status in { 'final', 'amended', 'corrected' }"
},
{
"url" : "displaySequence",
"valueInteger" : 11
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "HIV Status Positive Observation"
},
{
"url" : "statement",
"valueString" : "define \"HIV Status Positive Observation\":\n\"HIV Status Observation\" O\n where O.value ~ Concepts.\"HIV-positive - HIV.B.DE116\"\n sort by start of effective.toInterval()"
},
{
"url" : "displaySequence",
"valueInteger" : 12
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "HIV Status Positive Observation"
},
{
"url" : "statement",
"valueString" : "define \"HIV Status Positive Observation\":\n Elements.\"HIV Status Positive Observation\" O\n where O.issued before end of \"Measurement Period\"\n or O.effective.toInterval() starts before end of \"Measurement Period\""
},
{
"url" : "displaySequence",
"valueInteger" : 13
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "Has HIV-positive Status"
},
{
"url" : "statement",
"valueString" : "define \"Has HIV-positive Status\":\n exists \"HIV Status Positive Condition\"\n or exists \"HIV Status Positive Observation\""
},
{
"url" : "displaySequence",
"valueInteger" : 14
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "On ART H.DE47"
},
{
"url" : "statement",
"valueString" : "/* End of Refused stopped treatment */\n\n/*\n@dataElement: HIV.H.DE47 - On ART\n@activity: HIV.H3 Record outreach and result\n@description: Client is currently taking ART \n*/\n\ndefine \"On ART H.DE47\":\n [MedicationStatement] MS\n where exists(MS.reasonCode C where C ~ Concepts.\"On ART - HIV.H.DE47\")\n sort by start of effective.toInterval()"
},
{
"url" : "displaySequence",
"valueInteger" : 15
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "On ART H.DE47"
},
{
"url" : "statement",
"valueString" : "/* End of Refused stopped treatment */\n\n/*\n@dataElement: HIV.H.DE47 - On ART\n@activity: HIV.H3 Record outreach and result\n@description: Client is currently taking ART \n*/\ndefine \"On ART H.DE47\":\n exists(Elements.\"On ART H.DE47\" ART\n where ART.effective.toInterval() starts before end of \"Measurement Period\"\n and (ART.effective.toInterval() ends after start of \"Measurement Period\")\n )"
},
{
"url" : "displaySequence",
"valueInteger" : 16
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "Death documented"
},
{
"url" : "statement",
"valueString" : "/* End of Transferred out */\n\n/*\n@dataElement: HIV.H.DE44 - Death documented\n@activity: HIV.H3 Record outreach and result\n@description: People living with HIV previously on ART who are confirmed to have died from any cause\n*/\ndefine \"Death documented\":\n case \n when Patient.deceased is FHIR.boolean and Patient.deceased ~ true then Patient.meta.lastUpdated.value\n when Patient.deceased is FHIR.dateTime then Patient.deceased as FHIR.dateTime\n else null\n end"
},
{
"url" : "displaySequence",
"valueInteger" : 17
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "Has death documented"
},
{
"url" : "statement",
"valueString" : "/* End of Transferred out */\n\n/*\n@dataElement: HIV.H.DE44 - Death documented\n@activity: HIV.H3 Record outreach and result\n@description: People living with HIV previously on ART who are confirmed to have died from any cause\n*/\ndefine \"Has death documented\":\n Elements.\"Death documented\" before end of \"Measurement Period\""
},
{
"url" : "displaySequence",
"valueInteger" : 18
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "Transferred out status"
},
{
"url" : "statement",
"valueString" : "define \"Transferred out status\":\n [EpisodeOfCare] EOC\n where exists(EOC.type T where T ~ Concepts.\"On ART - HIV.H.DE47\")\n and EOC.status = 'finished'\n return EOC.period"
},
{
"url" : "displaySequence",
"valueInteger" : 19
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "Transferred out statusHistory"
},
{
"url" : "statement",
"valueString" : "define \"Transferred out statusHistory\":\n [EpisodeOfCare] EOC\n where exists(EOC.type T where T ~ Concepts.\"On ART - HIV.H.DE47\") \n and (exists (\n EOC.statusHistory H\n where H.status = 'finished'\n and H.period is not null))"
},
{
"url" : "displaySequence",
"valueInteger" : 20
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVElements"
},
{
"url" : "name",
"valueString" : "Transferred out"
},
{
"url" : "statement",
"valueString" : "define \"Transferred out\":\n flatten{\"Transferred out status\",\"Transferred out statusHistory\".statusHistory.period}"
},
{
"url" : "displaySequence",
"valueInteger" : 21
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "Has transferred out"
},
{
"url" : "statement",
"valueString" : "/* End of Lost to follow-up */\n\n/*\n@dataElement: HIV.H.DE43 - Transferred out\n@activity: HIV.H3 Record outreach and result\n@description: The client transferred to another facility\n*/\n\ndefine \"Has transferred out\":\n exists(Elements.\"Transferred out\" t where t ends during \"Measurement Period\")"
},
{
"url" : "displaySequence",
"valueInteger" : 22
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVConfig"
},
{
"url" : "name",
"valueString" : "LTFU Days"
},
{
"url" : "statement",
"valueString" : "define \"LTFU Days\":\n 28 days"
},
{
"url" : "displaySequence",
"valueInteger" : 23
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "Lost to follow-up"
},
{
"url" : "statement",
"valueString" : "/* End of HIV treatment outcome */\n\n/*\n@dataElement: HIV.H.DE42 - Lost to follow-up\n@activity: HIV.H3 Record outreach and result\n@description: Twenty-eight days or more since last missed appointment \n*/\ndefine \"Lost to follow-up\":\n Elements.\"On ART H.DE47\" H\n where H.effective starts before end of \"Measurement Period\"\n and H.effective ends after start of \"Measurement Period\"\n\tand not (H.effective ends after (end of \"Measurement Period\" - Config.\"LTFU Days\"))"
},
{
"url" : "displaySequence",
"valueInteger" : 24
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIndicatorElements"
},
{
"url" : "name",
"valueString" : "Is lost to follow-up"
},
{
"url" : "statement",
"valueString" : "define \"Is lost to follow-up\":\n exists(\"Lost to follow-up\")"
},
{
"url" : "displaySequence",
"valueInteger" : 25
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIND27Logic"
},
{
"url" : "name",
"valueString" : "Measure Population"
},
{
"url" : "statement",
"valueString" : "/*\n* Many indicator specifications in ANC and Immunization have context as patient. \n* I believe these should be unfiltered to get all observations not just those related to a current patient\n* Should discuss.\n*/\n\ndefine \"Measure Population\":\n HIE.\"Has HIV-positive Status\"\n and HIE.\"On ART H.DE47\"\n and not HIE.\"Has death documented\"\n and not HIE.\"Has transferred out\"\n and not HIE.\"Is lost to follow-up\""
},
{
"url" : "displaySequence",
"valueInteger" : 26
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToString"
},
{
"url" : "statement",
"valueString" : "define function ToString(value AdministrativeGender): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 27
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToString"
},
{
"url" : "statement",
"valueString" : "define function ToString(value string): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 28
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToString"
},
{
"url" : "statement",
"valueString" : "define function ToString(value AddressUse): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 29
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToString"
},
{
"url" : "statement",
"valueString" : "define function ToString(value ObservationStatus): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 30
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToConcept"
},
{
"url" : "statement",
"valueString" : "define function ToConcept(concept FHIR.CodeableConcept):\n if concept is null then\n null\n else\n System.Concept {\n codes: concept.coding C return ToCode(C),\n display: concept.text.value\n }"
},
{
"url" : "displaySequence",
"valueInteger" : 31
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToDateTime"
},
{
"url" : "statement",
"valueString" : "define function ToDateTime(value instant): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 32
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToDateTime"
},
{
"url" : "statement",
"valueString" : "define function ToDateTime(value dateTime): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 33
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToBoolean"
},
{
"url" : "statement",
"valueString" : "define function ToBoolean(value boolean): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 34
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToString"
},
{
"url" : "statement",
"valueString" : "define function ToString(value EpisodeOfCareStatus): value.value"
},
{
"url" : "displaySequence",
"valueInteger" : 35
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "FHIRHelpers"
},
{
"url" : "name",
"valueString" : "ToInterval"
},
{
"url" : "statement",
"valueString" : "define function ToInterval(period FHIR.Period):\n if period is null then\n null\n else\n if period.\"start\" is null then\n Interval(period.\"start\".value, period.\"end\".value]\n else\n Interval[period.\"start\".value, period.\"end\".value]"
},
{
"url" : "displaySequence",
"valueInteger" : 36
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
},
{
"extension" : [
{
"url" : "libraryName",
"valueString" : "HIVIND27Logic"
},
{
"url" : "name",
"valueString" : "Measure Observation"
},
{
"url" : "statement",
"valueString" : "/*\n * NOTE: Modeled as a Continuous Variable measure because this is an estimated denominator proportion measure\n */\n\ndefine function \"Measure Observation\"(Patient \"Patient\"):\n 1"
},
{
"url" : "displaySequence",
"valueInteger" : 37
}
],
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
}
],
"name" : "EffectiveDataRequirements",
"status" : "active",
"type" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/library-type",
"code" : "module-definition"
}
]
},
"relatedArtifact" : [
{
"type" : "depends-on",
"display" : "Library HIE",
"resource" : "Library/HIVIndicatorElements"
},
{
"type" : "depends-on",
"display" : "Library FHIRHelpers",
"resource" : "Library/FHIRHelpers|4.0.1"
},
{
"type" : "depends-on",
"display" : "Library Concepts",
"resource" : "Library/HIVConcepts"
},
{
"type" : "depends-on",
"display" : "Library FHIRHelpers",
"resource" : "Library/FHIRHelpers|4.0.1"
},
{
"type" : "depends-on",
"display" : "Library Elements",
"resource" : "Library/HIVElements"
},
{
"type" : "depends-on",
"display" : "Library Concepts",
"resource" : "Library/HIVConcepts"
},
{
"type" : "depends-on",
"display" : "Library FHIRHelpers",
"resource" : "Library/FHIRHelpers|4.0.1"
},
{
"type" : "depends-on",
"display" : "Library ConceptsCustom",
"resource" : "Library/HIVConceptsCustom"
},
{
"type" : "depends-on",
"display" : "Library WC",
"resource" : "Library/WHOCommon"
},
{
"type" : "depends-on",
"display" : "Library WC",
"resource" : "Library/WHOCommon"
},
{
"type" : "depends-on",
"display" : "Library Config",
"resource" : "Library/HIVConfig"
},
{
"type" : "depends-on",
"display" : "Code system HIVConcepts",
"resource" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts"
},
{
"type" : "depends-on",
"display" : "Code system ObservationCategoryCodes",
"resource" : "http://terminology.hl7.org/CodeSystem/observation-category"
},
{
"type" : "depends-on",
"display" : "Code system ConditionClinicalStatusCodes",
"resource" : "http://terminology.hl7.org/CodeSystem/condition-clinical"
},
{
"type" : "depends-on",
"display" : "Code system ConditionCategoryCodes",
"resource" : "http://terminology.hl7.org/CodeSystem/condition-category"
}
],
"parameter" : [
{
"name" : "Measurement Period",
"use" : "in",
"min" : 0,
"max" : "1",
"type" : "Period"
},
{
"name" : "Initial Population",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "boolean"
},
{
"name" : "Stratification",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "string"
},
{
"name" : "Measure Population",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "boolean"
}
],
"dataRequirement" : [
{
"type" : "Patient",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Patient"
]
},
{
"type" : "Patient",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Patient"
],
"mustSupport" : [
"use"
]
},
{
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"status",
"category"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE49",
"display" : "Key population member*"
}
]
}
]
},
{
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"status",
"category",
"effective",
"issued"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE49",
"display" : "Key population member*"
}
]
}
]
},
{
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"status",
"category",
"effective",
"issued",
"code.coding"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE49",
"display" : "Key population member*"
}
]
}
]
},
{
"type" : "Condition",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Condition"
],
"mustSupport" : [
"code",
"clinicalStatus",
"category"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE116",
"display" : "HIV-positive"
}
]
}
]
},
{
"type" : "Condition",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Condition"
],
"mustSupport" : [
"code",
"clinicalStatus",
"category",
"onset"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE116",
"display" : "HIV-positive"
}
]
}
]
},
{
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"status"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE115",
"display" : "HIV status"
}
]
}
]
},
{
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"status",
"value"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE115",
"display" : "HIV status"
}
]
}
]
},
{
"type" : "Observation",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Observation"
],
"mustSupport" : [
"code",
"status",
"value",
"issued",
"effective"
],
"codeFilter" : [
{
"path" : "code",
"code" : [
{
"system" : "http://smart.who.int/hiv/CodeSystem/HIVConcepts",
"code" : "HIV.B.DE115",
"display" : "HIV status"
}
]
}
]
},
{
"type" : "MedicationStatement",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationStatement"
],
"mustSupport" : [
"reasonCode"
]
},
{
"type" : "MedicationStatement",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationStatement"
],
"mustSupport" : [
"reasonCode",
"effective"
]
},
{
"type" : "Patient",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/Patient"
]
},
{
"type" : "EpisodeOfCare",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
],
"mustSupport" : [
"type",
"status",
"period"
]
},
{
"type" : "EpisodeOfCare",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
],
"mustSupport" : [
"type",
"statusHistory"
]
},
{
"type" : "EpisodeOfCare",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
],
"mustSupport" : [
"type",
"statusHistory"
]
},
{
"type" : "EpisodeOfCare",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
],
"mustSupport" : [
"type",
"statusHistory",
"period"
]
},
{
"type" : "MedicationStatement",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationStatement"
],
"mustSupport" : [
"reasonCode",
"effective"
]
},
{
"type" : "EpisodeOfCare",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
],
"mustSupport" : [
"type",
"status",
"period"
]
},
{
"type" : "MedicationStatement",
"profile" : [
"http://hl7.org/fhir/StructureDefinition/MedicationStatement"
],
"mustSupport" : [
"reasonCode",
"effective"
]
}
]
}
],
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "boolean"
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
"valueReference" : {
"reference" : "Device/cqf-tooling"
}
},
{
"id" : "effective-data-requirements",
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements",
"valueReference" : {
"reference" : "#effective-data-requirements"
}
}
],
"url" : "http://smart.who.int/hiv/Measure/HIVIND27",
"version" : "0.1.0",
"name" : "HIVIND27",
"title" : "HIV.IND.27 People living with HIV on ART",
"status" : "draft",
"experimental" : true,
"date" : "2024-09-16",
"publisher" : "intellisoftkenya",
"contact" : [
{
"name" : "intellisoftkenya",
"telecom" : [
{
"system" : "url",
"value" : "https://www.intellisoftkenya.com/"
}
]
}
],
"description" : "Number and % of people on ART among all people living with HIV at the end of the reporting period",
"library" : [
"https://IntelliSOFT-Consulting.github.io/HIV-FHIR-IG/Library/HIVIND27Logic"
],
"scoring" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
"code" : "continuous-variable",
"display" : "Continuous Variable"
}
]
},
"group" : [
{
"population" : [
{
"id" : "HIV.IND.27.IP",
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "initial-population",
"display" : "Initial Population"
}
]
},
"description" : "Initial Population",
"criteria" : {
"language" : "text/cql",
"expression" : "Initial Population"
}
},
{
"id" : "HIV.IND.27.MP",
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
"valueCode" : "boolean"
}
],
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-population",
"display" : "Measure Population"
}
]
},
"description" : "Measure Population",
"criteria" : {
"language" : "text/cql",
"expression" : "Measure Population"
}
},
{
"id" : "HIV.IND.27.MO",
"extension" : [
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-criteriaReference",
"valueString" : "measure-population"
},
{
"url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-aggregateMethod",
"valueCode" : "count"
}
],
"code" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/measure-population",
"code" : "measure-observation",
"display" : "Measure Observation"
}
]
},
"description" : "Measure Observation",
"criteria" : {
"language" : "text/cql",
"expression" : "Measure Observation"
}
}
],
"stratifier" : [
{
"id" : "HIV.IND.27.S",
"criteria" : {
"language" : "text/cql",
"expression" : "Stratification"
}
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.